package com.example.mushroom.service;

import com.example.mushroom.entity.Role;
import java.util.List;

public interface RoleService {
    int insertRole(Role role);
    Role selectRoleById(Integer id);
    List<Role> selectAllRoles();
    int updateRole(Role role);
    int deleteRoleById(Integer id);
    List<Role> selectRolesByPage(int offset, int limit);
}